package com.newblog.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;

import com.newblog.dao.UserDAO;
import com.newblog.factory.UserFactory;
import com.newblog.model.User;

public class SettingAction  extends DispatchAction{

	public ActionForward updateBasic(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response){
		       
		      return null;
		
		
	}
	
	public ActionForward get(ActionMapping mapping, ActionForm form,
	    HttpServletRequest request, HttpServletResponse response){
		User user = (User)request.getSession().getAttribute(UserAction.SESSION_KEY);
		
		UserDAO userdao = UserFactory.getInstance().createUserDao();
		
		
		return null;
	}
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		return super.execute(mapping, form, request, response);
	}
	
	

}
